<template>
    <el-page-header @back="goBack" title="返回">
        <template #content>
            <span class="text-large font-600 mr-3"> {{ props.content }} </span>
        </template>
    </el-page-header>
</template>

<script setup>
import { useRouter } from 'vue-router'
import { defineProps } from 'vue';

const router = useRouter()
const props = defineProps({
    content: ""
})

const goBack = () => {
    router.go(-1)
}
</script>

<style scoped></style>